cd /data/xframe/jar
REGISTER_APP_NAME=est-register.jar
GATEWAY_APP_NAME=xframe-gateway.jar
MODULE_CONFIG_APP=xframe-module-config-biz.jar
ADMIN_APP_NAME=xframe-admin.jar
IMPORT_APP_NAME=xframe-file-io.jar
WH_APP_NAME=xframe-warehouse.jar
REGISTER_LOG_FILE=/data/xframe/log/est-register.log
GATEWAY_APP_LOG_FILE=/data/xframe/log/xframe-gateway.log
ADMIN_LOG_FILE=/data/xframe/log/xframe-admin.log
MODULE_CONFIG_LOG_FILE=/data/xframe/log/xframe-module-config.log
IMPORT_APP_NAME_LOG_FILE=/data/xframe/log/xframe-file-io.log
WH_APP_NAME_LOG_FILE=/data/xframe/log/xframe-warehouse.log


nohup /www/server/java/jdk1.8.0_371/bin/java  -jar -Xmx1024M -Xms256M sysService.jar  >> /data/xframe/log/sysService.log 2>&1 &
/www/server/java/jdk1.8.0_371/bin/java -jar sysService.jar
nohup /www/server/java/jdk1.8.0_371/bin/java -jar sysService.jar >> /data/xframe/log/sysService.log 2>&1 &
nohup java -jar xframe-module-config-biz.jar >> /data/xframe/log/xframe-module-config.log 2>&1 &
nohup java -jar xframe-admin.jar >> /data/xframe/log/xframe-admin.log 2>&1 &
nohup java -jar xframe-warehouse.jar >> /data/xframe/log/xframe-warehouse.log 2>&1 &
nohup java -jar xframe-file-io.jar >> /data/xframe/log/xframe-file-io.log 2>&1 &
#
ps -ef|grep sysService.jar
ps -ef|grep est-register.jar
ps -ef|grep xframe-admin.jar
ps -ef|grep xframe-db-sync.jar
#nohup java -jar xframe-db-listen.jar >> /data/xframe/log/xframe-db-listen.log 2>&1 &
#pid=`ps -ef|grep xframe-db-listen.jar | grep -v grep | awk '{print $2}'`
#nohup java -jar xframe-db-sync.jar >> /data/xframe/log/xframe-db-sync.jar.log 2>&1 &
#nohup java -jar xframe-warehouse.jar >> /data/xframe/log/xframe-warehouse.log 2>&1 &
#nohup java -jar warehouse.jar >> /data/xframe/log/xframe-warehouse.log 2>&1 &
ps -ef|grep xframe-db-sync.jar
#nohup java -jar xframe-warehouse.jar >> /data/xframe/log/xframe-warehouse.log 2>&1 &
java -jar xframe-sale.jar >> /data/xframe/log/xframe-sale.log 2>&1 &
#java -jar xframe-gateway.jar >> xframe-gateway.log 2>&1 &
nohup java -jar xframe-db-listen.jar >> /data/xframe/log/xframe-db-listen.log 2>&1 &
echo "数据同步启动（监控）"
sleep 2
nohup java -jar xframe-db-sync.jar >> /data/xframe/log/xframe-db-sync.jar.log 2>&1 &
echo "数据同步启动（接收处理）"
sleep 2
nohup java -jar est-register.jar >> /data/xframe/log/est-register.log 2>&1 &
echo "REGISTER启动成功"
sleep 2
nohup java -jar xframe-gateway.jar >> xframe-gateway.log 2>&1 &
nohup java -jar $GATEWAY_APP_NAME >> $GATEWAY_APP_LOG_FILE 2>&1 &
echo "GATEWAY启动成功"
sleep 2

nohup java -jar $ADMIN_APP_NAME >> $ADMIN_LOG_FILE 2>&1 &
echo "ADMIN启动成功"
sleep 2

nohup java -jar $MODULE_CONFIG_APP >> $MODULE_CONFIG_LOG_FILE 2>&1 &
echo "MODEL_CONFIG启动成功"
sleep 2

nohup java -jar $IMPORT_APP_NAME >> $IMPORT_APP_NAME_LOG_FILE 2>&1 &
echo "xframe-file-io启动成功"
sleep 2

nohup java -jar $WH_APP_NAME >> $WH_APP_NAME_LOG_FILE 2>&1 &
echo "xframe-warehouse.jar启动成功"
echo "执行成功"
